home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 2 / CU Amiga Magazine's Super CD-ROM 02 (1996)(EMAP Images)(GB)[!][issue 1996-04].iso / magazine / amiga_e / ez_e_2.00 / other.doc < prev    next >
Text File  |  1993-08-25  |  2KB  |  45 lines

  1.  
  2. Short and Sweet:
  3.  
  4.     ExeGui:  Just a simple replacement for Execute. Lets you use a file
  5.              requester to select a file.
  6.              Usage: ExeGui DIR/F
  7.  
  8.     Include: Simple Pre-Processor to use include type files with E.
  9.              Usage: Include FILE/F     (note: either use with .e or not)
  10.  
  11.         How it works: It scans your source code for the keyword INCLUDE.
  12.                       followed by a target to include:
  13.  
  14.                       EX: INCLUDE "Emodules:Includes/Detach.e"
  15.  
  16.                       It will produce a final output file with a suffix of
  17.                       "_inc.e", that is identical to your source, except that
  18.                       it has been merged with all included files.
  19.  
  20.          !! NOTE !! : Include is recursive, so if you accidenly make a loop
  21.                       of includes, it WILL get stuck, and you WILL have to
  22.                       reboot to reset (no CtrlC() checking.)
  23.  
  24.                  Ex:  (-> means includes)
  25.                       a -> b,d,e
  26.                       b -> c,f,g,h
  27.                       c -> m,p,b    <- closed loop here!!!
  28.  
  29.                       Then, just compile your program with EC.
  30.  
  31.                       To re-compile ExeGui, try this:
  32.                         CD to the dir containing Exegui.e, then
  33.  
  34.                       Type In                     Produces
  35.  
  36.                       INCLUDE ExeGui              ExeGui_inc.e
  37.                       EC ExeGue_inc               ExeGue_inc
  38.                       RENAME ExeGui_inc ExeGui    ExeGui
  39.  
  40.         LIMITS:       Include DOES NOT scan your included files for
  41.                       duplicate DEF, MODULE, PROC, etc... statements.
  42.                       Make sure that each module contains only
  43.                       UNIQUE PROC NAMES AND GLOBAL VARIABLES
  44.                       Globall definitions are handled properly by Include,
  45.                       but again, are not checked for duplicates.